package com.iwall.kmsexample.api;

/**
 * Created by IWALL on 2017/2/8.
 * request apply key's result
 */

public class Response {

    private Result result;
    private String pkey;
    private String reqKeyId;

    public Response() {
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public String getPkey() {
        return pkey;
    }

    public void setPkey(String pkey) {
        this.pkey = pkey;
    }

    public String getReqKeyId() {
        return reqKeyId;
    }

    public void setReqKeyId(String reqKeyId) {
        this.reqKeyId = reqKeyId;
    }

    public class Result {
        String status;
        String errMsg;

        public Result() {
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getErrMsg() {
            return errMsg;
        }

        public void setErrMsg(String errMsg) {
            this.errMsg = errMsg;
        }
    }
}


